package com.shiyi.crawler;

// 爬虫类型策略接口
interface CrawlerStrategy {
    void execute();
}


//
//// 客户端代码
//public class CrawlerClient {
//    public static void main(String[] args) {
//        CrawlerExecutor executor;
//
//        // 根据需要选择不同的爬虫类型
//        executor = new CrawlerExecutor(new CrawlerTypeA());
//        executor.executeCrawler();
//
//        executor = new CrawlerExecutor(new CrawlerTypeB());
//        executor.executeCrawler();
//    }
//}